package com.jichaoyun.sys.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jichaoyun.model.entity.DcAlarm;



import com.jichaoyun.model.vo.AlarmVo;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
* @author ljc
* @description 针对表【dcAlarm】的数据库操作Mapper
* @createDate 2023-11-29 14:35:11
* @Entity com.jichaoyun.sys.entity.Dcalarm
*/
public interface DcAlarmMapper extends BaseMapper<DcAlarm> {

    IPage<List<AlarmVo>> selectDcAlarmPage(IPage<List<AlarmVo>> page,
                                           @Param("start_time") String startTime,
                                           @Param("start_time") String endTime,
                                           @Param("line_id") Integer line_id);

    DcAlarm selectRecentOne(@Param("stationNo") int stationNo);
}




